home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / QuickDraw™ 3D 1.0 / Development / Interfaces / QD3DString.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-02  |  1.7 KB  |  69 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        QD3DString.h                                              **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **     Purpose:                                                                **
  7.  **                                                                          **
  8.  **                                                                          **
  9.  **                                                                          **
  10.  **     Copyright (C) 1994-1995 Apple Computer, Inc. All rights reserved.     **
  11.  **                                                                          **
  12.  **                                                                          **
  13.  *****************************************************************************/
  14. #ifndef QD3DString_h
  15. #define QD3DString_h
  16.  
  17. #ifndef QD3D_h
  18. #include "QD3D.h"
  19. #endif  /*  QD3D_h  */
  20.  
  21. #if PRAGMA_ONCE
  22.     #pragma once
  23. #endif
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif /*  __cplusplus  */
  28.  
  29.  
  30. /******************************************************************************
  31.  **                                                                             **
  32.  **                                String Routines                                 **
  33.  **                                                                             **
  34.  *****************************************************************************/
  35.  
  36. TQ3ObjectType Q3String_GetType(
  37.     TQ3StringObject        stringObj);
  38.  
  39.  
  40. /******************************************************************************
  41.  **                                                                             **
  42.  **                        C String Routines                                     **
  43.  **                                                                             **
  44.  *****************************************************************************/
  45.  
  46. TQ3StringObject Q3CString_New(
  47.     const char                *string);
  48.  
  49. TQ3Status Q3CString_GetLength(
  50.     TQ3StringObject            stringObj,
  51.     unsigned long            *length);
  52.  
  53. TQ3Status Q3CString_SetString(
  54.     TQ3StringObject            stringObj,
  55.     const char                *string);
  56.  
  57. TQ3Status Q3CString_GetString(
  58.     TQ3StringObject            stringObj,
  59.     char                    **string);
  60.  
  61. TQ3Status Q3CString_EmptyData(
  62.     char                    **string);
  63.  
  64. #ifdef __cplusplus
  65. }
  66. #endif /*  __cplusplus  */
  67.  
  68. #endif  /*  QD3DString_h  */
  69.